Optimal. Leaf size=23 \[ \frac {x^3 \left (a \left (b x^n\right )^p\right )^q}{3+n p q} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 23, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {1971, 30}
\begin {gather*} \frac {x^3 \left (a \left (b x^n\right )^p\right )^q}{n p q+3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 30
Rule 1971
Rubi steps
\begin {align*} \int x^2 \left (a \left (b x^n\right )^p\right )^q \, dx &=\left (x^{-n p q} \left (a \left (b x^n\right )^p\right )^q\right ) \int x^{2+n p q} \, dx\\ &=\frac {x^3 \left (a \left (b x^n\right )^p\right )^q}{3+n p q}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 23, normalized size = 1.00 \begin {gather*} \frac {x^3 \left (a \left (b x^n\right )^p\right )^q}{3+n p q} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.05, size = 24, normalized size = 1.04
method | result | size |
gosper | \(\frac {x^{3} \left (a \left (b \,x^{n}\right )^{p}\right )^{q}}{n p q +3}\) | \(24\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.38, size = 27, normalized size = 1.17 \begin {gather*} \frac {a^{q} b^{p q} x^{3} {\left ({\left (x^{n}\right )}^{p}\right )}^{q}}{n p q + 3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.37, size = 29, normalized size = 1.26 \begin {gather*} \frac {x^{3} e^{\left (n p q \log \left (x\right ) + p q \log \left (b\right ) + q \log \left (a\right )\right )}}{n p q + 3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int x^{2} \left (a \left (b x^{n}\right )^{p}\right )^{q}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 2.04, size = 29, normalized size = 1.26 \begin {gather*} \frac {x^{3} e^{\left (n p q \log \left (x\right ) + p q \log \left (b\right ) + q \log \left (a\right )\right )}}{n p q + 3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.02, size = 23, normalized size = 1.00 \begin {gather*} \frac {x^3\,{\left (a\,{\left (b\,x^n\right )}^p\right )}^q}{n\,p\,q+3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________